package com.educate.studentmanagementsystem.pojo.vo;

public class StudentVO1 {
    private Integer studentId;
    private String name;
    private Integer age;
    private SchoolClassVO2 schoolClassVO2;

    public StudentVO1() {
    }

    public StudentVO1(Integer studentId, String name, Integer age, SchoolClassVO2 schoolClassVO2) {
        this.studentId = studentId;
        this.name = name;
        this.age = age;
        this.schoolClassVO2 = schoolClassVO2;
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public SchoolClassVO2 getSchoolClassVO2() {
        return schoolClassVO2;
    }

    public void setSchoolClassVO2(SchoolClassVO2 schoolClassVO2) {
        this.schoolClassVO2 = schoolClassVO2;
    }

    @Override
    public String toString() {
        return "StudentVO1{" +
                "studentId=" + studentId +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", schoolClassVO2=" + schoolClassVO2 +
                '}';
    }

}
